// by Xeno
private ["_vehicle", "_poss"];
#include "x_setup.sqf"

x_sm_pos = [[9158.5078,2815.7378,0], [9058.5078,2715.7378,0]]; // index: 16,   Radio tower mount Malinovka
x_sm_type = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client) then {
	d_current_mission_text = "The enemy is using Hofer as a radio outpost. Destroy the radio tower and keep collateral damage to a minimum.";
	d_current_mission_resolved_text = "Good job. The radio tower is destroyed.";
};

if (isServer) then {
	__PossAndOther
	_vehicle = "Land_telek1" createvehicle (_poss);
	_vehicle setVectorUp [0,0,1];
#ifndef __TT__
	[_vehicle] execFSM "fsms\XCheckSMHardTarget.fsm";
#else
	[_vehicle] execFSM "fsms\XCheckSMHardTargetTT.fsm";
#endif
	sleep 2.22;
	["shilka", 0, "bmp", 1, "tank", 0, _pos_other,1,110,false] spawn XCreateArmor;
	sleep 2.333;
	["specops", 2, "basic", 2, _poss,120,false] spawn XCreateInf;
	__AddToExtraVec(_vehicle)
};